package com.waverider.promotion.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @author sihai
 * 
 */
public class PromotionDO extends BaseDO
{
	private String   	title;
	private Long 		goodsId;
	private String		goodsName;
	private String		goodsDetailURL;
	private String		goodsPicURL;
	private Long 		shopId;
	private Integer 	type;
	private Long		initOrderCount;
	private Integer		fullPromotionQuota;
	private BigDecimal 	originalPrice;
	private Integer 	lowestDiscount;
	private Integer 	currentDiscount;
	private BigDecimal 	lowestPrice;
	private BigDecimal 	currentPrice;
	private BigDecimal 	priceReduceUnit;
	private Double 		discountIncreaseUnit;
	private Long		orderCount;
	private Long		currentOrderCount;
	private Date		startTime;
	private Date		endTime;
	private Integer		status;
	
	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getGoodsId() {
		return goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public String getGoodsDetailURL() {
		return goodsDetailURL;
	}

	public String getGoodsPicURL() {
		return goodsPicURL;
	}

	public Long getShopId() {
		return shopId;
	}

	public Integer getType() {
		return type;
	}

	public BigDecimal getOriginalPrice() {
		return originalPrice;
	}

	public Integer getLowestDiscount() {
		return lowestDiscount;
	}

	public Integer getCurrentDiscount() {
		return currentDiscount;
	}

	public BigDecimal getLowestPrice() {
		return lowestPrice;
	}

	public BigDecimal getCurrentPrice() {
		return currentPrice;
	}

	public BigDecimal getPriceReduceUnit() {
		return priceReduceUnit;
	}

	public Double getDiscountIncreaseUnit() {
		return discountIncreaseUnit;
	}

	public Date getStartTime() {
		return startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public void setGoodsDetailURL(String goodsDetailURL) {
		this.goodsDetailURL = goodsDetailURL;
	}

	public void setGoodsPicURL(String goodsPicURL) {
		this.goodsPicURL = goodsPicURL;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}

	public void setLowestDiscount(Integer lowestDiscount) {
		this.lowestDiscount = lowestDiscount;
	}

	public void setCurrentDiscount(Integer currentDiscount) {
		this.currentDiscount = currentDiscount;
	}

	public void setLowestPrice(BigDecimal lowestPrice) {
		this.lowestPrice = lowestPrice;
	}

	public void setCurrentPrice(BigDecimal currentPrice) {
		this.currentPrice = currentPrice;
	}

	public void setPriceReduceUnit(BigDecimal priceReduceUnit) {
		this.priceReduceUnit = priceReduceUnit;
	}

	public void setDiscountIncreaseUnit(Double discountIncreaseUnit) {
		this.discountIncreaseUnit = discountIncreaseUnit;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getOrderCount() {
		return orderCount;
	}

	public void setOrderCount(Long orderCount) {
		this.orderCount = orderCount;
	}

	public Long getCurrentOrderCount() {
		return currentOrderCount;
	}

	public void setCurrentOrderCount(Long currentOrderCount) {
		this.currentOrderCount = currentOrderCount;
	}

	public Long getInitOrderCount() {
		return initOrderCount;
	}

	public Integer getFullPromotionQuota() {
		return fullPromotionQuota;
	}

	public void setInitOrderCount(Long initOrderCount) {
		this.initOrderCount = initOrderCount;
	}

	public void setFullPromotionQuota(Integer fullPromotionQuota) {
		this.fullPromotionQuota = fullPromotionQuota;
	}

	// ///////////////////////////////////////////////////////////////////
	public Long getDummyOrderCount() {
		return initOrderCount + currentOrderCount;
	}
}
